﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RaptorEngine.Components.CollidableComponent
{
	/// <summary>
	/// Interface to hold the custom action method to take when a collision is found.
	/// </summary>
	public interface ICollisionAction
	{
        /// <summary>
        /// Handles collision between two boundingSpheres with newton physics solid spheres and no energy wasted. 
        /// </summary>
        /// <param name="ownEntity">The parent entity of the action</param>
        /// <param name="ownVolume">The parent bounding volume of the action</param>
        /// <param name="othersEntity">The other colliding entity</param>
        /// <param name="othersVolume">The boundingVolume of the other entity</param>
		void HandleCollision(Entity ownEntity, BoundingVolume ownVolume, Entity othersEntity, BoundingVolume othersVolume);
	}
}